/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ctrl.command;

import java.util.ArrayList;
import perso.Personnage;

/**
 *
 * @author Administrateur
 */
public class CmdKill extends Command{
    public CmdKill(Personnage persoCible){
        super(null,persoCible);
    }

   

    @Override
    public void execute(ArrayList<Personnage> listPerso) {
        getPersoCible().kill(listPerso);
        System.out.println("Perso id: "+getPersoCible().id+" is dead");
    }
    
}
